class Test:
    @classmethod
    def foo1(cls): ...
    def foo2(self, t: Test): ...
    @staticmethod
    def _bar(self): ...